package cn.tedu.ivos.forum.pojo.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class Forum {
    @ApiModelProperty(value = "主键")
    private Integer id;
    @ApiModelProperty(value = "创建时间")
    private Date addTime;
    @ApiModelProperty(value = "帖子标题")
    private String title;
    @ApiModelProperty(value = "帖子内容")
    private String content;
    @ApiModelProperty(value = "父节点id")
    private Integer parentId;
    @ApiModelProperty(value = "用户id")
    private Integer userId;
    @ApiModelProperty(value = "用户名")
    private String userName;
    @ApiModelProperty(value = "头像")
    private String avatarUrl;
    @ApiModelProperty(value = "状态")
    private Integer isDone;
    @ApiModelProperty(value = "是否置顶")
    private Integer isTop;
    @ApiModelProperty(value = "置顶时间")
    private Date topTime;
}
